<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>添加商机</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="<%=basePath %>admin/lib/layui-v2.5.5/css/layui.css" media="all" />
    <link rel="stylesheet" href="<%=basePath %>admin/css/public.css" media="all" />
</head>
<body class="childrenBody">
<h2>添加商机</h2>
<p><span style="color: red">*</span>为必填项</p>
<form class="layui-form layui-form-pane" action="Javascript:void(0)">
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>商机标题：</label>
        <div class="layui-input-block">
            <input type="text" name="byTitle" lay-verify="required"  autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>关联客户：</label>
        <div class="layui-input-inline">
            <select name="relationCus" id="relationCus" class="layui-input-inline">
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">主要联系人：</label>
        <div class="layui-input-inline">
            <input type="text" name="contactUser"  autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>预计销售金额：</label>
        <div class="layui-input-inline">
            <input type="text" name="money" lay-verify="required" placeholder="请输入 " autocomplete="off" class="layui-input">元
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>预计签单日期：</label>
        <div class="layui-input-inline">
            <input type="date" name="date" lay-verify="required" placeholder="选择日期 " autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-col-md6">
        <label class="layui-form-label"><span style="color: red">*</span>销售阶段：</label>
        <select name="saleStage">
            <option value="">选择阶段</option>
            <option value="1">初步洽谈</option>
            <option value="2">深入沟通</option>
            <option value="3">流失商机</option>

        </select>
    </div>
    <div class="layui-col-md6">
        <label class="layui-form-label"><span style="color: red">*</span>成交几率：</label>
        <select name="probability">
            <option value="">选择几率</option>
            <option value="1">10%</option>
            <option value="2">20%</option>
            <option value="3">30%</option>
            <option value="4">40%</option>
            <option value="5">50%</option>
            <option value="6">60%</option>
            <option value="7">70%</option>
            <option value="8">80%</option>
            <option value="9">90%</option>
            <option value="10">100%</option>
        </select>
    </div>
    <div class="layui-col-md6">
        <label class="layui-form-label"><span style="color: red">*</span>商机来源：</label>
        <select name="bySrc">
            <option value="">选择来源</option>
            <option value="1">电话营销</option>
            <option value="2">主动来电</option>
            <option value="3">客户介绍</option>
            <option value="4">朋友介绍</option>
            <option value="5">独立开发</option>
            <option value="6">网络搜索</option>
            <option value="7">广告杂志</option>
            <option value="8">展会促销</option>
            <option value="9">其他途径</option>

        </select>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">获取日期：</label>
        <div class="layui-input-inline">
            <input type="date" name="getdate" placeholder="选择日期 " autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">归属人员：</label>
        <div class="layui-input-inline">
            <input type="text" name="ascriptionUser" placeholder="请输入 " autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">备注信息：</label>
        <div class="layui-input-block">
            <textarea name="remarks" placeholder="请输入备注信息" class="layui-textarea"></textarea>
            <input type="checkbox" name="" checked  autocomplete="off" class="layui-input">创建下次跟进任务
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>下次跟进：</label>
        <div class="layui-input-inline">
            <input type="date" name="relationCus" lay-verify="required" placeholder="选择时间" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">跟进内容：</label>
        <div class="layui-input-inline">
            <input type="text" name="followContent"  placeholder="请输入跟进内容" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span style="color: red">*</span>跟进人员：</label>
        <div class="layui-input-inline">
            <input type="text" name="followUser"  placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-col-md6">
        <label class="layui-form-label"><span style="color: red">*</span>任务提醒：</label>
        <select name="task">

            <option value="1">准时提醒</option>
            <option value="2">提前5分钟</option>
            <option value="3">提前15分钟</option>
            <option value="4">提前30分钟</option>
            <option value="5">提前1小时</option>
            <option value="6">提前2小时</option>
            <option value="7">提前1天</option>
        </select>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">提醒方式：</label>
        <div class="layui-input-inline">
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">系统消息
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">邮件通知
            <input type="checkbox" name="mess" checked autocomplete="off" class="layui-input">短信通知
        </div>
    </div>

    <div class="layui-form-item">
        <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="demo1">提交</button>
        <input type="reset" value="重置">
    </div>
</form>
<script type="text/javascript" src="<%=basePath %>admin/lib/layui-v2.5.5/layui.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/lib/jquery-3.4.1/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/pagejs/system/user/addBuyChance.js"></script>
</body>
</html>
